package com.sjh.tomcat.servlet;

import com.sjh.tomcat.http.SjhRequest;
import com.sjh.tomcat.http.SjhResponse;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import java.io.IOException;

public interface SjhServlet {

    void init(ServletConfig var1) throws Exception;

    void service(SjhRequest request, SjhResponse response) throws IOException;

    void destroy();
}
